package com.flyduck.vueshop.product.remote.service;

import com.flyduck.vueshop.product.vo.RemoteSkuStockReduceReqVO;
import com.flyduck.vueshop.product.vo.RemoteSkuStockReleaseReqVO;
import com.flyduck.vueshop.product.vo.RemoteSkuStockRespVO;

import java.util.List;

/**
 * <p>
 * RemoteSkuStockService
 * </p>
 *
 * @author flyduck
 * @since 2024-07-15
 */
public interface RemoteSkuStockService {
    void batchReduceSkuStock(List<RemoteSkuStockReduceReqVO> remoteSkuStockReduceReqVOList);

    void batchReleaseSkuStock(List<RemoteSkuStockReleaseReqVO> remoteSkuStockReleaseReqVOList);

    RemoteSkuStockRespVO getSkuStock(Long productId, Long skuId);
}
